package com.yuyou.tas.lesson.api;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.yuyou.tas.lesson.service.comm.OfficeService;
import com.yuyou.tas.service.api.lesson.service.OfficeAPI;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;

@RestController
public class OfficeAPIImpl implements OfficeAPI{

	@Autowired
	private OfficeService officeService;

	@Override
	public ResBoolSimpleInfo<String> deleteFileMetas(@RequestParam("resourceId") String resourceId)
			throws Exception {
		officeService.deleteFileMeta(resourceId);
		return ResBoolSimpleInfo.getSuccessInfo();
	}
	



	
}
